@extends('layouts.tankuang')

@section('content')
    <form name="add_form" id="add_form" action="{{url('admin/units/add_baowei',$id)}}" method="post" enctype="multipart/form-data">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <div>
            <h2 class="text-center mg_b36 mg_t25" style="font-weight: bold;">
                保安考核
            </h2>
            <input type="hidden" name="_token" value="{{ csrf_token() }}">
            <table class="table-form table-border w mg-auto">
                <tr>
                    <td class="font-bd text-center">考核人</td>
                    <td>
                        {{$re->kaoheren}}
                    </td>
                </tr>
                <tr>
                    <td class="font-bd text-center">考核时间</td>
                    <td>
                        {{$re->kaohe_time}}
                    </td>
                </tr>
                <tr>
                    <td class="font-bd text-center">分数</td>
                    <td>
                        {{$re->total}}分
                    </td>
                </tr>
                @foreach($kaohexiang as $v)
                    <tr>
                        <td class="font-bd text-center" width="20%">{{$v->field_content}}</td>
                        <td>
                            {{$v->val}}({{$v->mark}}分)
                        </td>
                    </tr>
                @endforeach

                <tr>
                    <td class="text-center">备注</td>
                    <td>
                        {{$re->remark}}
                    </td>
                </tr>
            </table>
            <div class="w wbt mg_t25 text-center mg_b18">
                <button type="button" class="easyui-linkbutton dsp" data-options="iconCls:'icon-no'" onclick="$('#kh').window('close')">关闭</button>
            </div>
        </div>
    </form>

@stop